const filerobotImageZnch = {
  name: '图片编辑器',
  save: '保存',
  saveAs: '保存为新图片',
  back: '后退',
  apply: '确定',
  loading: 'Loading...',
  resetOperations: '重置或者删除所有操作',
  changesLoseConfirmation: '所有更改都将丢失',
  changesLoseConfirmationHint: '你确定要继续吗?',
  cancel: '取消',
  continue: '继续',
  undoTitle: '撤消',
  redoTitle: '重置',
  showImageTitle: '显示原始图像',
  zoomInTitle: '放大',
  zoomOutTitle: '放小',
  toggleZoomMenuTitle: '切换缩放',
  adjustTab: '裁切',
  finetuneTab: '调整',
  filtersTab: '滤镜',
  watermarkTab: '水印',
  annotateTabLabel: '编辑',
  anotate: '编辑',
  resize: '缩放',
  resizeTab: '缩放',
  invalidImageError: '提供的图像无效.',
  uploadImageError: '上传图像时出错.',
  areNotImages: 'are not images',
  isNotImage: 'is not image',
  toBeUploaded: 'to be uploaded',
  cropTool: '原始比例',
  custom: '自定义',
  original: '原始比例',
  Original: '原始比例',
  square: 'Square',
  landscape: '横屏',
  landscape32: '横屏',
  portrait: '竖屏',
  classicTvs: '竖屏',
  ellipse: '圆形',
  classicTv: '金典',
  cinemascope: 'Cinemascope',
  arrowTool: 'Arrow',
  blurTool: 'Blur',
  brightnessTool: 'Brightness',
  contrastTool: 'Contrast',
  ellipseTool: 'Ellipse',
  unFlipX: '恢复',
  flipX: '横向翻转',
  unFlipY: '恢复',
  flipY: '纵向翻转',
  hsvTool: 'HSV',
  hue: 'Hue',
  saturation: 'Saturation',
  value: 'Value',
  imageTool: '添加图片',
  importing: 'Importing...',
  addImage: '+ 添加图片',
  lineTool: 'Line',
  penTool: 'Pen',
  polygonTool: 'Polygon',
  sides: 'Sides',
  rectangleTool: 'Rectangle',
  cornerRadius: 'Corner Radius',
  resizeWidthTitle: 'Width in pixels',
  resizeHeightTitle: 'Height in pixels',
  toggleRatioLockTitle: 'Toggle ratio lock',
  reset: 'Reset',
  resetSize: 'Reset to original image size',
  rotateTool: '旋转',
  textTool: '添加字幕',
  textSpacings: 'Text spacings',
  textAlignment: 'Text alignment',
  fontFamily: 'Font family',
  size: 'Size',
  letterSpacing: '字间距',
  lineHeight: '行高',
  warmthTool: 'Warmth',
  addWatermark: '+ Add watermark',
  addWatermarkTitle: 'Choose the watermark type',
  uploadWatermark: 'Upload watermark',
  addWatermarkAsText: 'Add as text',
  padding: 'Padding',
  shadow: '阴影',
  horizontal: '水平',
  vertical: '垂直',
  blur: '滤镜',
  opacity: '透明度',
  position: 'Position',
  stroke: '描边',
  saveAsModalLabel: '保存图像为',
  extension: 'Extension',
  nameIsRequired: 'Name is required.',
  quality: 'Quality',
  imageDimensionsHoverTitle: 'Saved image size (width x height)',
  cropSizeLowerThanResizedWarning:
    'Note, the selected crop area is lower than the applied resize which might cause quality decrease',
  actualSize: 'Actual size (100%)',
  fitSize: 'Fit size'
}

export default {
  videoAllowType: [ 'mp4', 'webm', 'ogg' ],
  audioAllowType: [ 'mp3' ],
  filerobotImageZnch,
  editorConfig: {
    tabsIds: [ 'Adjust', 'Annotate' ],
    defaultTabId: 'Adjust',
    useBackendTranslations: false,
    translations: filerobotImageZnch,
    spin: {
      className: 'FIE_spin',
      html: `<svg t="1710925000332" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4048" id="mx_n_1710925000333" width="45" height="45"><path d="M470.869333 9.130667c0-5.034667 4.096-9.130667 9.130667-9.130667h64c5.034667 0 9.130667 4.096 9.130667 9.130667v237.738666A9.130667 9.130667 0 0 1 544 256h-64a9.130667 9.130667 0 0 1-9.130667-9.130667V9.130667z" fill="#1677ff" p-id="4049"></path><path d="M224 97.066667a9.130667 9.130667 0 0 1 3.328-12.501334l55.466667-32a9.130667 9.130667 0 0 1 12.458666 3.370667l118.869334 205.866667a9.130667 9.130667 0 0 1-3.370667 12.458666l-55.424 32a9.130667 9.130667 0 0 1-12.458667-3.328L224 97.066667z" fill="#1677ff" p-id="4050"></path><path d="M55.893333 295.253333a9.130667 9.130667 0 0 1-3.328-12.501333l32-55.424a9.130667 9.130667 0 0 1 12.501334-3.328L302.933333 342.869333a9.130667 9.130667 0 0 1 3.328 12.458667l-32 55.466667a9.130667 9.130667 0 0 1-12.458666 3.328L55.893333 295.253333z" fill="#1677ff" p-id="4051"></path><path d="M9.130667 553.130667A9.130667 9.130667 0 0 1 0 544v-64c0-5.034667 4.096-9.130667 9.130667-9.130667h237.738666c5.034667 0 9.130667 4.096 9.130667 9.130667v64a9.130667 9.130667 0 0 1-9.130667 9.130667H9.130667z" fill="#1677ff" p-id="4052"></path><path d="M800 97.066667a9.130667 9.130667 0 0 0-3.328-12.501334l-55.466667-32a9.130667 9.130667 0 0 0-12.458666 3.370667l-118.869334 205.866667a9.130667 9.130667 0 0 0 3.370667 12.458666l55.424 32a9.130667 9.130667 0 0 0 12.458667-3.328l118.869333-205.866666z" fill="#1677ff" p-id="4053"></path><path d="M968.106667 295.253333a9.130667 9.130667 0 0 0 3.328-12.501333l-32-55.424a9.130667 9.130667 0 0 0-12.501334-3.328L721.066667 342.869333a9.130667 9.130667 0 0 0-3.328 12.458667l32 55.466667c2.517333 4.352 8.106667 5.845333 12.458666 3.328L968.106667 295.253333z" fill="#1677ff" p-id="4054"></path><path d="M1014.869333 553.130667A9.130667 9.130667 0 0 0 1024 544v-64a9.130667 9.130667 0 0 0-9.130667-9.130667h-237.738666a9.130667 9.130667 0 0 0-9.130667 9.130667v64c0 5.034667 4.096 9.130667 9.130667 9.130667h237.738666z" fill="#1677ff" p-id="4055"></path><path d="M470.869333 1014.869333c0 5.034667 4.096 9.130667 9.130667 9.130667h64a9.130667 9.130667 0 0 0 9.130667-9.130667v-237.738666A9.130667 9.130667 0 0 0 544 768h-64a9.130667 9.130667 0 0 0-9.130667 9.130667v237.738666z" fill="#1677ff" p-id="4056"></path><path d="M224 926.933333a9.130667 9.130667 0 0 0 3.328 12.501334l55.466667 32c4.352 2.517333 9.941333 1.024 12.458666-3.370667l118.869334-205.866667a9.130667 9.130667 0 0 0-3.370667-12.458666l-55.424-32a9.130667 9.130667 0 0 0-12.458667 3.328L224 926.933333z" fill="#1677ff" p-id="4057"></path><path d="M55.893333 728.746667a9.130667 9.130667 0 0 0-3.328 12.501333l32 55.424c2.56 4.352 8.106667 5.845333 12.501334 3.328L302.933333 681.130667a9.130667 9.130667 0 0 0 3.328-12.458667l-32-55.466667a9.130667 9.130667 0 0 0-12.458666-3.328L55.893333 728.746667z" fill="#1677ff" p-id="4058"></path><path d="M800 926.933333a9.130667 9.130667 0 0 1-3.328 12.501334l-55.466667 32a9.130667 9.130667 0 0 1-12.458666-3.370667l-118.869334-205.866667a9.130667 9.130667 0 0 1 3.370667-12.458666l55.424-32a9.130667 9.130667 0 0 1 12.458667 3.328l118.869333 205.866666z" fill="#1677ff" p-id="4059"></path><path d="M968.106667 728.746667c4.352 2.517333 5.845333 8.106667 3.328 12.501333l-32 55.424a9.130667 9.130667 0 0 1-12.501334 3.328L721.066667 681.130667a9.130667 9.130667 0 0 1-3.328-12.458667l32-55.466667a9.130667 9.130667 0 0 1 12.458666-3.328l205.866667 118.869334z" fill="#1677ff" p-id="4060"></path></svg>`
    },
    Text: {
      text: '请输入文字',
      fontSize: 24
    }
  },
}
